package com.chenyaowei.product.domain;

import com.chenyaowei.common.annotation.Excel;
import com.chenyaowei.common.core.domain.BaseEntity;
import com.chenyaowei.marketing.domain.CywSkuBounds;
import org.springframework.data.annotation.Transient;

import java.math.BigDecimal;
import java.util.List;

/**
 * sku信息对象 cyw_pro_sku_info
 *
 * @author 陈耀威
 * @date 2023-11-24
 */
public class CywProSkuInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** skuId */
    private Long skuId;

    /** spuId */
    @Excel(name = "spuId")
    private Long spuId;

    /** sku名称 */
    @Excel(name = "sku名称")
    private String skuName;

    /** sku介绍描述 */
    @Excel(name = "sku介绍描述")
    private String skuDesc;

    /** 分类id */
    @Excel(name = "分类id")
    private Long catalogId;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 默认图片 */
    @Excel(name = "默认图片")
    private String skuDefaultImg;

    /** 标题 */
    @Excel(name = "标题")
    private String skuTitle;

    /** 副标题 */
    @Excel(name = "副标题")
    private String skuSubTitle;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 销量 */
    @Excel(name = "销量")
    private Integer saleCount;

    @Transient
    private List<CywProSkuSaleAttrValue> attrs;

    @Transient
    private List<CywProSkuImages> skuImages;

    @Transient
    private CywSkuBounds skuBounds;

    @Transient
    private Integer totalStock;

    public Integer getTotalStock() {
        return totalStock;
    }

    public void setTotalStock(Integer totalStock) {
        this.totalStock = totalStock;
    }

    public CywSkuBounds getSkuBounds() {
        return skuBounds;
    }

    public void setSkuBounds(CywSkuBounds skuBounds) {
        this.skuBounds = skuBounds;
    }

    public List<CywProSkuImages> getSkuImages() {
        return skuImages;
    }

    public void setSkuImages(List<CywProSkuImages> skuImages) {
        this.skuImages = skuImages;
    }

    public List<CywProSkuSaleAttrValue> getAttrs() {
        return attrs;
    }

    public void setAttrs(List<CywProSkuSaleAttrValue> attrs) {
        this.attrs = attrs;
    }

    public void setSkuId(Long skuId)
    {
        this.skuId = skuId;
    }

    public Long getSkuId()
    {
        return skuId;
    }
    public void setSpuId(Long spuId)
    {
        this.spuId = spuId;
    }

    public Long getSpuId()
    {
        return spuId;
    }
    public void setSkuName(String skuName)
    {
        this.skuName = skuName;
    }

    public String getSkuName()
    {
        return skuName;
    }
    public void setSkuDesc(String skuDesc)
    {
        this.skuDesc = skuDesc;
    }

    public String getSkuDesc()
    {
        return skuDesc;
    }
    public void setCatalogId(Long catalogId)
    {
        this.catalogId = catalogId;
    }

    public Long getCatalogId()
    {
        return catalogId;
    }
    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setSkuDefaultImg(String skuDefaultImg)
    {
        this.skuDefaultImg = skuDefaultImg;
    }

    public String getSkuDefaultImg()
    {
        return skuDefaultImg;
    }
    public void setSkuTitle(String skuTitle)
    {
        this.skuTitle = skuTitle;
    }

    public String getSkuTitle()
    {
        return skuTitle;
    }

    public String getSkuSubTitle() {
        return skuSubTitle;
    }

    public void setSkuSubTitle(String skuSubTitle) {
        this.skuSubTitle = skuSubTitle;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setSaleCount(Integer saleCount)
    {
        this.saleCount = saleCount;
    }

    public Integer getSaleCount()
    {
        return saleCount;
    }

}
